@extends('layouts.base')
@section('title', '操作日志')

@section('admin-style')
<style>
.aaa{
	width:100px !important;
	
}
</style>
@stop
@section('content')

		<!-- ============================================================== -->
<!-- Container fluid  -->
<!-- ============================================================== -->
<div class="container-fluid">
	<!-- ============================================================== -->
	<!-- Bread crumb and right sidebar toggle -->
	<!-- ============================================================== -->
	<div class="row page-titles">
		<div class="col-md-5 align-self-center">
			<h3 class="text-themecolor">操作日志--列表</h3>
		</div>
		<div class="col-md-7 align-self-center">
			<ol class="breadcrumb">
				<li class="breadcrumb-item"><a href="javascript:void(0)">首页</a></li>
				<li class="breadcrumb-item active">操作日志</li>
			</ol>
		</div>
	</div>
	<!-- ============================================================== -->
	<!-- End Bread crumb and right sidebar toggle -->
	<!-- ============================================================== -->

	<!-- ============================================================== -->
	<!-- Start Page Content -->
	<!-- ============================================================== -->
	<div class="row">
		<div class="col-12">
			<div class="card">
				<div class="card-body">
					<h4 class="card-title">操作日志</h4>
					<h6 class="card-subtitle"></h6>
					<div class="card-body">
						
					</div>
					<div class="table-responsive">
						<table id="demo-foo-addrow" class="table table-bordered m-t-30 table-hover contact-list" data-paging="true" data-paging-size="7">
							<thead>
							<tr>
								<th>ID</th>
								<th>操作人员</th>
								<th>协议发送方式</th>
								<th>ip</th>
								<th>提交数据</th>
								<th>路径</th>
								<th>创建时间</th>
								<th>修改时间</th>
							</tr>
							</thead>
							<tbody>
							@foreach($operators as $value)
								<tr>
									<td>{{ $value->id }}</td>
									<td>{{ ($value->manager)->name }}</td>
									<td>{{ $value->method }}</td>
									<td>{{ $value->ip }}</td>
									<td class="aaa">{{ $value->input }}</td>
									<td>{{ $value->path }}</td>
									<td>{{ $value->created_at }}</td>
									<td>{{ $value->updated_at }}</td>
								</tr>
							@endforeach
							</tbody>
						</table>
						{{ $operators->links() }}
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

@stop

